package com.yan.domainjob;

public class Programmer extends Employee{
    private String laungh = "java";

    public Programmer() {
    }

    public Programmer(String id, String name, int age, double salary) {
        super(id, name, age, salary);
    }

    public Programmer(String id, String name, int age, double salary, String laungh) {
        super(id, name, age, salary);
        this.laungh = laungh;
    }

    public String getLaungh() {
        return laungh;
    }

    public void setLaungh(String laungh) {
        this.laungh = laungh;
    }

    @Override
    public String getInfo() {
        return super.getInfo() + "\t" + "java";
    }
}
